@media screen and (min-width: 1860px) {
  .show-dragable-element {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    cursor: default !important;
  }
}
@keyframes wordsLoop {
  0% {
    transform: translateX(60px);
  }
  100% {
    transform: translateX(-100%);
  }
}
.animate {
  padding-left: 20px;
  font-size: 12px;
  display: inline-block;
  white-space: nowrap;
  animation: 5s wordsLoop linear infinite normal;
}
.data-center-wrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.datacenter-wrapper {
  height: 100%;
  width: 100%;
  // min-height: 800px;
  // min-width: 1280px;
  background: url('~@/assets/img/data-center-bg1.png') no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  overflow: auto;
  position: relative;
  .mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .datacenter-content {
    &-header {
      display: flex;
      height: 10vh;
      position: relative;
      justify-content: space-between;
      width: 100%;
      max-height: 80px;
      &-title {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        user-select: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        > h2 {
          font-family: 'Microsoft YaHei';
          color: white;
          font-size: 0.5rem;
          font-weight: bold;
          font-style: italic;
          text-shadow: 0 0 12px #4fcdcc, 0 0 5px #4fcdcc;
          position: relative;
          z-index: 222;
          &:before {
            content: '';
            position: absolute;
            width: 338px;
            top: -70px;
            left: -156px;
            height: 179px;
            display: block;
            background: url('~@/assets/img/text-left.png');
            z-index: -26;
            background-position: 0 0;
            background-size: 100% 100%;
            background-repeat: no-repeat;
          }
          &:after {
            content: '';
            position: absolute;
            width: 338px;
            bottom: -74px;
            right: -170px;
            height: 179px;
            display: block;
            background: url('~@/assets/img/text-left.png');
            z-index: -26;
            background-position: 0 0;
            background-size: 100% 100%;
            background-repeat: no-repeat;
          }
        }
      }
      &-right-wrapper {
        // height: 100%;
        display: flex;
        margin-right: 1.5rem;
        ul.nomanage {
          > li {
            position: relative;
            float: none;
            display: inline-block;
            text-align: center;
            margin: 0 6px;
            a {
              position: relative;
              display: block;
              height: 100%;
              text-align: center;
              padding: 10px 15px 8px;
              font-size: 14px;
              box-sizing: border-box;
              font-weight: 400;
              color: rgba(255, 255, 255, 1);
              -webkit-transition: all 0.3s;
              -moz-transition: all 0.3s;
              transition: all 0.3s;
              &:hover {
                background-color: rgba(0, 0, 0, 0.1);
                color: #fff;
                transition: background-color 250ms ease-in-out;
              }
              span {
                font-size: 28px;
                width: 28px;
                height: 28px;
                display: block;
                margin: 0 auto 2px;
              }
              &.current {
                background-color: rgba(0, 0, 0, 0.1);
                color: #fff;
                transition: color 250ms ease-in-out,
                  background-color 250ms ease-in-out;
              }
            }
          }
        }
        .el-menu-demo {
          background-color: transparent;
          .el-submenu .el-submenu__title {
            color: #fff !important;
            > i {
              color: #fff;
            }
            &:hover {
              background-color: rgba(0, 0, 0, 0.1) !important;
            }
          }
          .el-submenu.is-opened {
            background-color: rgba(0, 0, 0, 0.1);
            color: #fff;
            > .el-submenu__title {
              background-color: rgba(0, 0, 0, 0.1) !important;
            }
          }
          &.el-menu.el-menu--horizontal {
            border: 0 none;
          }
        }
      }
      &-left-wrapper {
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 50px;
        overflow: hidden;
        .button {
          width: 0.6rem;
          height: 0.6rem;
          background: #fff;
          overflow: hidden;
          background: url('~@/assets/img/button-bg.png') no-repeat;
          background-size: 100% 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          > .fa {
            font-size: 0.4rem;
            color: #fff;
          }
        }
        .weather {
          display: flex;
          align-items: center;
          text-align: left;
          margin-left: 0.5rem;
          color: #fff;
          font-size: 0.2rem;
          flex-direction: column;
          font-weight: bold;
          div {
            > span {
              margin-right: 10px;
              &:last-child {
                margin-right: 0;
              }
            }
          }
        }
        .image {
          width: 0.7rem;
          height: 0.7rem;
          margin-left: 0.5rem;
        }
      }
      .login-out {
        position: fixed;
        right: 40px;
        top: 10px;
        width: 0.6rem;
        height: 0.6rem;
        background: #fff;
        overflow: hidden;
        background: url('~@/assets/img/button-bg.png') no-repeat;
        background-size: 100% 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        > .fa {
          font-size: 0.4rem;
          color: #fff;
        }
      }
    }
    &-body {
      height: 90vh;
      width: 100%;
      // max-height: calc(100vh - 80px);
      // min-height: calc(800px - 10vh);
      box-sizing: border-box;
      padding: 0rem 0.2rem 0.2rem 0.2rem;
      .inner-body {
        height: 100%;
        position: relative;
        display: flex;
        justify-content: space-between;
        .box-wrapper {
          .box-content {
            border: 2px solid #00baff;
            height: 100%;
            box-sizing: border-box;
            background-color: rgba(9, 46, 92, 0.75);
            position: relative;
            &-header {
              background-color: rgba(0, 22, 83, 1);
              min-height: 36px;
              height: 10%;
              display: flex;
              align-items: center;
              > p {
                font-family: 'Microsoft YaHei';
                margin-left: 20px;
                color: #fff;
                font-size: 18px;
              }
            }
            &-body {
              max-height: calc(100% - 36px);
              height: 90%;
              display: flex;
              position: relative;
            }
          }
        }
        &-left {
          width: 28%;
          position: relative;
          display: flex;
          justify-content: space-between;
          flex-direction: column;
          .box-wrapper {
            &:nth-child(1) {
              height: 28%;
              width: 100%;

              .box-content {
                &-header {
                  p {
                    display: inline;
                  }
                  span > p {
                    text-align: right;
                    font-size: 12px;
                    margin-left: 10px;
                  }
                }
                &-body {
                  display: flex;
                  .l {
                    width: 45%;
                  }
                  .r {
                    width: 55%;
                    box-sizing: border-box;
                    padding: 0.1rem 0.1rem;
                    > div.w1 {
                      background-color: rgba(9, 46, 92, 0.75);
                      height: 100%;

                      // padding: 0.2rem 0.2rem;
                      .chart-top {
                        height: 100%;
                      }
                      .chart-bottom {
                        height: 30%;
                        .line-progress {
                          display: flex;
                          height: 100%;
                          box-sizing: border-box;
                          padding: 0 0.5rem;
                          justify-content: space-between;
                          flex-direction: column;
                          > .one {
                            display: flex;
                            font-size: 12px;
                            color: #fff;
                            &.text {
                              > div {
                                transform: scale(0.8);
                              }
                            }
                            &:nth-child(1) {
                            }
                          }
                          > .two {
                            width: 100%;
                            height: 5px;
                            overflow: hidden;
                            display: flex;
                            div {
                              max-height: 8px;
                              &:nth-child(1) {
                                height: 100%;
                                background-color: #ff574c;
                                width: 40%;
                              }
                              &:nth-child(2) {
                                height: 100%;
                                background-color: #4d8bb1;
                                width: 30%;
                              }
                              &:nth-child(3) {
                                height: 100%;
                                background-color: #68c4f7;
                                width: 30%;
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }

            &:nth-child(2) {
              height: 38%;
              width: 100%;
              .box-content {
                &-body {
                  display: flex;
                  .l {
                    width: 50%;
                    position: relative;
                    box-sizing: border-box;
                    &:after {
                      position: absolute;
                      content: '';
                      height: 90%;
                      width: 2px;
                      background: #00baff;
                      right: 0;
                      top: 50%;
                      transform: translateY(-50%);
                    }
                  }
                  .r {
                    width: 50%;
                    height: 100%;
                    display: flex;
                    position: relative;
                    justify-content: center;
                    align-items: center;
                    > .title-p {
                      overflow: hidden;
                      max-height: 30px;
                      position: absolute;
                      top: 5px;
                      left: 5px;
                      p {
                        display: inline;
                        color: #fff;
                        font-size: 0.18rem;
                        margin: 10px;
                      }
                    }
                    .inline-box {
                      display: flex;
                      flex-direction: row;
                      color: #fff;
                      &-icon {
                        text-align: center;
                        margin-right: 0.1rem;
                        &:last-child {
                          margin-right: 0;
                        }
                        > p {
                          margin: 10px 0;
                          font-size: 0.1rem;
                        }
                        > h2 {
                          font-size: 0.2rem;
                        }
                        .img {
                          width: 0.6rem;
                          height: 0.6rem;

                          > img {
                            width: 100%;
                            height: 100%;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }

            &:nth-child(3) {
              height: 28%;
              width: 100%;
              .box-content {
                &-body {
                  flex-direction: column;
                  align-items: center;
                  justify-content: center;
                  padding: 5px;
                  .grid-line {
                    width: 98%;
                    box-sizing: border-box;
                    height: 20%;
                    border-left: 1px solid rgba(255, 255, 255, 0.4);
                    border-right: 1px solid rgba(255, 255, 255, 0.4);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
                    display: flex;
                    font-size: 0.12rem;
                    color: #fff;
                    overflow: hidden;
                    &:first-child {
                      border-top: 1px solid rgba(255, 255, 255, 0.4);
                    }
                    > div {
                      border-right: 1px solid rgba(255, 255, 255, 0.4);
                      box-sizing: border-box;
                      text-align: center;
                      overflow: hidden;
                      &:nth-child(1) {
                        width: 20%;
                      }
                      &:nth-child(2) {
                        line-height: 1.5;
                        width: 40%;
                      }
                      &:nth-child(3) {
                        line-height: 1.5;
                        width: 20%;
                      }
                      &:nth-child(4) {
                        line-height: 1.5;
                        width: 20%;
                        border-right: 0 none;
                      }
                    }
                  }
                }
              }
            }
          }
        }
        &-middle {
          width: 40%;
          .box-wrapper {
            height: 100%;
            .box-content {
              &-header {
                height: 5%;
                width: 100%;
                p {
                  display: inline;
                }
                span > p {
                  text-align: right;
                  font-size: 12px;
                  margin-left: 10px;
                }
              }
              &-body {
                height: 95%;
                width: 100%;
                display: flex;
                flex-direction: column;
                .body-title-block {
                  height: 2%;
                  > p {
                    color: #fff;
                    margin-left: 10px;
                    font-size: 0.8rem;
                  }
                }
                .body-top-block {
                  box-sizing: border-box;
                  padding: 0.15rem 0.1rem;
                  display: flex;
                  width: 100%;
                  height: 23%;
                  justify-content: space-between;
                  align-items: center;
                  .grid {
                    height: 100%;
                    width: 20%;
                    margin-right: 0.5rem;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;
                    overflow: hidden;
                    &:last-child {
                      margin-right: 0;
                    }
                    .img {
                      width: 0.6rem;
                      height: 0.6rem;
                      > img {
                        width: 100%;
                        height: 100%;
                      }
                    }
                    p {
                      color: #fff;
                      font-size: 14px;
                    }
                    h2 {
                      font-size: 0.3rem;
                      color: #05d1ea;
                      font-weight: bold;
                      margin: 0;
                    }
                  }
                }

                .body-bottom-block {
                  height: 75%;
                  .img-container {
                    height: calc(100% - 60px);
                    position: relative;
                    overflow: hidden;
                    .show-dragable-element {
                      // left: 50% !important;
                      // top: 50% !important;
                      // transform: translate(-50%, -50%);
                      cursor: move;
                    }
                    .plane {
                      box-sizing: border-box;
                      width: 700px;
                      height: 500px;
                      position: relative;
                      // > img.icon {
                      //   width: 30px;
                      //   height: 40px;
                      //   position: absolute;
                      // }
                       > div.icon {
                        width: 30px;
                        height: 40px;
                        position: absolute;
                        cursor: pointer;
                        div.sub-icon {
                          position: relative;
                          width: 100%;
                          height: 100%;
                          img {
                            width: 100%;
                            height: 100%;
                          }
                        }

                        .tooltip-container {
                          width: 100;
                        }
                      }
                    }
                  }
                  .control {
                    height: 60px;
                    width: 100%;
                    z-index: 100;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: row;
                    > div {
                      cursor: pointer;
                      overflow: hidden;
                      width: 60px;
                      min-width: 40px;
                      height: 16px;
                      transform: skew(30deg);
                      font-size: 0.1rem;
                      text-align: center;
                      line-height: 16px;
                      margin-right: 10px;
                      color: #fff;
                      background: linear-gradient(
                        rgb(141, 141, 141),
                        rgb(117, 117, 117)
                      );
                      position: relative;
                      > span {
                        display: inline-block;
                        transform: skew(-30deg);
                      }
                      &:last-child {
                        margin-right: 0;
                      }
                      &.active {
                        background: linear-gradient(#21bcf6, #0051a2);
                      }
                      // &:before,
                      // &:after {
                      //   content: '';
                      //   left: -10px;
                      //   position: absolute;
                      //   top: 0;
                      //   border: 0 solid rgb(117, 117, 117);
                      //   border-width: 16px 10px;
                      //   border-bottom-width: 0;
                      //   width: 0;
                      //   height: 0;
                      // }
                      // &:after {
                      //   left: 100%;
                      //   border-color: transparent;
                      //   border-left-color: rgb(117, 117, 117);
                      // }
                      // &:before {
                      //   left: -10px;
                      //   border-color: rgb(117, 117, 117);
                      //   border-left-color: transparent;
                      // }

                      // &.active {
                      //   background-color: rgb(23, 154, 219);
                      //   &:after {
                      //     border-left-color: rgb(23, 154, 219);
                      //   }
                      //   &:before {
                      //     border-color: rgb(23, 154, 219);
                      //     border-left-color: transparent;
                      //   }
                      // }
                    }
                  }
                }
              }
            }
          }
        }
        &-right {
          width: 30%;
          display: flex;
          justify-content: space-between;
          flex-direction: column;
          .box-wrapper {
            &:nth-child(1) {
              height: 32%;
              .box-content {
                &-body {
                  display: flex;
                  .l {
                    width: 60%;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: center;
                    .line-grid {
                      width: 50%;
                      height: 50%;
                      overflow: hidden;
                      color: #fff;
                      box-sizing: border-box;
                      padding: 0.05rem 0.15rem;
                      display: flex;
                      justify-content: space-between;
                      align-items: center;
                      flex-direction: column;
                      .icon-img {
                        // flex: 1;
                        .img {
                          height: 0.4rem;
                          > img {
                            width: 100%;
                            height: 100%;
                          }
                        }
                      }
                      > span {
                        font-size: 0.15rem;
                      }
                      > p {
                        font-size: 0.1rem;
                        font-weight: bold;
                        > span {
                          font-size: 0.16rem;
                          font-weight: normal;
                        }
                      }
                    }
                  }
                  .r {
                    width: 40%;
                    height: 100%;
                    display: flex;
                  }
                }
              }
            }
            &:nth-child(2) {
              height: 32%;
              .box-content {
                &-body {
                  .div-chart {
                    width: 100%;
                    height: 100%;
                    box-sizing: border-box;
                    padding: 10px;
                    div {
                      width: 100%;
                      height: 100%;
                      background: red;
                    }
                  }
                }
              }
            }
            &:nth-child(3) {
              height: 32%;
            }
          }
        }
      }
      .img {
        > svg {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}


.custom-popover-tontainer {
  width: 300px;
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(51, 102, 153, 0.7);
  color: #fff;
  .title {
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #fff;
    font-size: 14px;
  }
  .body {
    box-sizing: border-box;
    padding: 5px 8px;
    ul > li {
      > span:first-child {
        margin-right: 10px;
      }
    }
  }
  .pop-cricle-green {
    &:before {
      content: ' \25CF';
      font-size: 18px;
      color: #0f0;
    }
  }
  .pop-cricle-red {
    &:before {
      content: ' \25CF';
      font-size: 18px;
      color: red;
    }
  }
  .pop-cricle-grey {
    &:before {
      content: ' \25CF';
      font-size: 18px;
      color: #ccc;
    }
  }
}